import request from "@/utils/request";

//获取提现申请
export function getCash(data) {
  return request({
    url: '/admin/cashout',
    method: 'get',
    params: data
  })
}

//审核提现
export function auditCash(data) {
  return request({
    url: '/admin/cashout',
    method: 'put',
    data: data
  })
}

//搜索提现
export function searchCash(data,params) {
  return request({
    url: '/admin/cashout/search',
    method: 'post',
    data,
    params
  })
}
